package com.weasel.weixin.commons.message.bean;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**回复视频消息
 * Created by Dylan on 2015/10/9.
 */
@XStreamAlias("xml")
public class WeiXinPostCommonXmlAnswerVideoMessage extends AbstractWeiXinPostCommonXmlAnswerMessage {

    public WeiXinPostCommonXmlAnswerVideoMessage(){
        setMsgType(VIDEO_MESSAGE_TYPE);
    }

    @XStreamAlias("Video")
    private VideoBody video;

    public VideoBody getVideo() {
        return video;
    }

    public void setVideo(VideoBody video) {
        this.video = video;
    }

    @XStreamAlias("Video")
    public static class VideoBody{

        @XStreamAlias("MediaId")
        private String mediaId;

        @XStreamAlias("Title")
        private String title;  //视频标题

        @XStreamAlias("Description")
        private String description;  //视频介绍

        public String getMediaId() {
            return mediaId;
        }

        public void setMediaId(String mediaId) {
            this.mediaId = mediaId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }
    }
}
